import 'package:get/get.dart';

class CounterController extends GetxController {
  var x = 0.obs;
  var y = 0.obs;

  void incrementX() => x++;
  void incrementY() => y++;

  int get sum => x.value + y.value;
}